========================================================= PROGRAMMING WINDOWS 95 WITH MFC BY JEFF PROSISE COMPANION CD COPYRIGHT (C) 1996 BY JEFF PROSISE ========================================================= This companion CD contains the sample source code and executable files of the examples presented in Programming Windows 95 with MFC by Jeff Prosise. Contents: Part 1. If You Encounter Problems Part 2. Installing the Source Code ===< Part 1: If You Encounter Problems >================= TRUNCATED FILENAMES IN WINDOWS 95 --------------------------------- If you receive "file not found" errors or if you see truncated filenames (such as \Code\Chap08\MainFram.cpp instead of \Code\Chap08\MainFrame.cpp), you are likely using an older or incompatible CD-ROM driver. MS-DOS (or real-mode) CD-ROM drivers cannot read long filenames. If MainFrame.cpp is truncated on your computer, please contact your CD-ROM manufacturer for an updated, Windows 95 compatible CD-ROM driver. SHORTENED FILENAMES ------------------- This CD-ROM contains a number of files that have long filenames. Windows NT 3.51 and older CD-ROM drivers for Windows 95 will see these filenames as short filenames ending with a tilde (~) and a number instead of the proper long filename. It is imperative to rename these short filenames back to their original names before compiling any of the projects. (The projects will not properly find the dependent files unless this step is taken.) The following is a list of all long filenames on this CD-ROM: Short name Long name Chap08\Paint4 04/05/96 11:00p 2,129 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00p 459 MAINFR~1.H MainFrame.h 04/05/96 11:00p 3,157 PAINT4~1.CPP Paint4Doc.cpp 04/05/96 11:00p 895 PAINT4~1.H Paint4Doc.h 04/05/96 11:00p 2,449 PAINT4~2.CPP Paint4View.cpp 04/05/96 11:00p 746 PAINT4~2.H Paint4View.h Chap09\Paint5 04/05/96 11:00a 2,315 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00a 574 MAINFR~1.H MainFrame.h 04/05/96 11:00p 3,157 PAINT5~1.CPP Paint5Doc.cpp 04/05/96 11:00p 895 PAINT5~1.H Paint5Doc.h 04/05/96 11:00p 2,805 PAINT5~2.CPP Paint5View.cpp 04/05/96 11:00p 801 PAINT5~2.H Paint5View.h Chap09\Paint6 04/05/96 11:00a 2,712 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00a 615 MAINFR~1.H MainFrame.h 04/05/96 11:00p 3,157 PAINT6~1.CPP Paint6Doc.cpp 04/05/96 11:00p 895 PAINT6~1.H Paint6Doc.h 04/05/96 11:00p 2,805 PAINT6~2.CPP Paint6View.cpp 04/05/96 11:00p 801 PAINT6~2.H Paint6View.h Chap09\Paint7 04/05/96 11:00a 1,827 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00a 418 MAINFR~1.H MainFrame.h 04/05/96 11:00p 3,157 PAINT7~1.CPP Paint7Doc.cpp 04/05/96 11:00p 895 PAINT7~1.H Paint7Doc.h 04/05/96 11:00p 2,805 PAINT7~2.CPP Paint7View.cpp 04/05/96 11:00p 801 PAINT7~2.H Paint7View.h Chap10\EZPrint 04/05/96 11:00p 272 EZPRIN~1.CPP EZPrintDoc.cpp 04/05/96 11:00p 256 EZPRIN~1.H EZPrintDoc.h 04/05/96 11:00p 989 EZPRIN~2.CPP EZPrintView.cpp 04/05/96 11:00p 383 EZPRIN~2.H EZPrintView.h Chap11\MyWord 04/05/96 11:00p 2,131 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00p 566 MAINFR~1.H MainFrame.h 04/05/96 11:00p 1,127 MYWORD~1.CPP MyWordDoc.cpp 04/05/96 11:00p 413 MYWORD~1.H MyWordDoc.h 04/05/96 11:00p 3,863 MYWORD~2.CPP MyWordView.cpp 04/05/96 11:00p 969 MYWORD~2.H MyWordView.h Chap12 04/11/96 09:54a BITMAP~1 BitmapDemo 04/11/96 09:54a LIVEPA~1 LivePalette 04/11/96 09:54a PALETT~1 PaletteDemo 04/11/96 09:54a REGION~1 RegionDemo Chap12\BitmapDemo 04/05/96 11:00p 8,215 BITMAP~1.CPP BitmapDemo.cpp 04/05/96 11:00p 26,624 BITMAP~1.EXE BitmapDemo.exe 04/05/96 11:00p 1,101 BITMAP~1.H BitmapDemo.h 04/05/96 11:00p 6,614 BITMAP~1.MAK BitmapDemo.mak 04/05/96 11:00p 0 BITMAP~1.MDP BitmapDemo.mdp 04/05/96 11:00a 552 BITMAP~1.RC BitmapDemo.rc Chap12\LivePalette 04/05/96 11:00p 4,568 LIVEPA~1.CPP LivePalette.cpp 04/05/96 11:00p 20,992 LIVEPA~1.EXE LivePalette.exe 04/05/96 11:00p 759 LIVEPA~1.H LivePalette.h 04/05/96 11:00p 6,041 LIVEPA~1.MAK LivePalette.mak 04/05/96 11:00p 0 LIVEPA~1.MDP LivePalette.mdp Chap12\PaletteDemo 04/05/96 11:00p 4,176 PALETT~1.CPP PaletteDemo.cpp 04/05/96 11:00p 20,992 PALETT~1.EXE PaletteDemo.exe 04/05/96 11:00p 696 PALETT~1.H PaletteDemo.h 04/05/96 11:00p 6,041 PALETT~1.MAK PaletteDemo.mak 04/05/96 11:00p 0 PALETT~1.MDP PaletteDemo.mdp Chap12\RegionDemo 04/05/96 11:00p 2,316 REGION~1.CPP RegionDemo.cpp 04/05/96 11:00p 18,944 REGION~1.EXE RegionDemo.exe 04/05/96 11:00p 409 REGION~1.H RegionDemo.h 04/05/96 11:00p 6,003 REGION~1.MAK RegionDemo.mak 04/05/96 11:00p 0 REGION~1.MDP RegionDemo.mdp Chap12\Vista 04/05/96 11:00p 1,622 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00p 524 MAINFR~1.H MainFrame.h 04/05/96 11:00p 1,839 VISTAV~1.CPP VistaView.cpp 04/05/96 11:00p 435 VISTAV~1.H VistaView.h Chap13\Wanderer 04/05/96 11:00p 7,720 DRIVEV~1.CPP DriveView.cpp 04/05/96 11:00p 864 DRIVEV~1.H DriveView.h 04/05/96 11:00p 1,869 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00p 609 MAINFR~1.H MainFrame.h Chap14\MTDemo 04/05/96 11:00p 2,814 MAINFR~1.CPP MainFrame.cpp 04/05/96 11:00p 724 MAINFR~1.H MainFrame.h REPLACEMENT CD -------------- If you require a replacement CD, please call Microsoft Sales and Service 1-800-426-9400 Every effort has been made to ensure the accuracy of this book and the contents of the companion disc. If you have comments, questions, or ideas regarding this book or the companion disc, please write to Microsoft Press at the following address: Attn.: Programming Windows 95 with MFC Editor Microsoft Press One Microsoft Way Redmond, WA 98052-6399 You can also send feedback to Microsoft Press via electronic mail at mspinput@microsoft.com. Please note that product support is not offered through this e-mail address. ===< Part 2: Installing the Source Code >=============== INSTALLING THE PROGRAMMING WINDOWS 95 WITH MFC FILES UNDER WINDOWS 95 To install the Programming Windows 95 with MFC files under Windows 95, follow these steps: 1. From the Windows 95 desktop, click the Start button. 2. Choose the Run menu item. 3. In the Run dialog box, click the Browse button. 4. In the Browse dialog box, navigate to the root directory of the companion CD-ROM. 5. Click the SETUP.EXE icon. 6. Click the Open button. 7. When the Run dialog box reappears, click OK, and follow the onscreen instructions. INSTALLING THE PROGRAMMING WINDOWS 95 WITH MFC FILES UNDER WINDOWS NT If you are running Windows NT, you can install the Programming Windows 95 with MFC files by following these steps: 1. From Program Manager, choose the Run item from the File menu. 2. In the Run dialog box, type in x:\NT\SETUP.EXE Substitute the drive letter of your CD-ROM for 'x.' 3. Click OK. 4. Follow the onscreen instructions. =================================